#! /usr/bin/python
#coding:utf
__author__ = 'guolt'


import os

def list_files(dir):
    for dir,path,listfiles in os.walk(dir):
        for file in listfiles:
            print os.path.join(dir,file)




list_files('/usr/local')
